<?php
$concessions = $this->concessions;
$parameters = $this->parameters;
$baseUrl = $this->base_url;
if($parameters['title_enabled']):
?>
<dl>
                <dt><?php echo $parameters['title']?></dt>
                <?php
                for($i=0; $i < $this->parameters->getEndNameIndex(); $i++):
                    if($this->parameters->getImageCount() && $i<$this->parameters->getEndImageIndex()):
                ?>
                <dt><a href="<?php echo $this->getUrl(array('id'=>$concessions[$i]->getId()), 'detail', 'content', 'article')?>">
                            <img src="<?php echo $concessions[$i]->getFirstPicture() ?>"
                             width="<?php echo $this->parameters->getImageWidth()?>"
                             height="<?php echo $this->parameters->getImageHeight() ?>"/>
                    </a></dt>
                <?php endif;?>
                        <dd><a href="<?php echo $this->getUrl(array('id'=>$concessions[$i]['id']), 'detail', 'content', 'concessions')?>"><?php echo $concessions[$i]['name'] ?></a>
                        </dd>
                <?php
                endfor;
                ?>
</dl>
<?php else:?>
    <ul>
        <?php for($i=0; $i < $this->parameters->getEndNameIndex(); $i++):?>
        <li>·<a href="<?php echo $this->getUrl(array('id'=>$concessions[$i]['id']), 'detail', 'content', 'concessions')?>"><?php echo $concessions[$i]['name'] ?></a></li>
    </ul>
<?php endfor;endif;?>